package com.astrofizzbizz.raspberrypicamera.client;

import com.astrofizzbizz.raspberrypicamera.shared.RaspberryPiException;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("raspberryPi")
public interface RaspberryPiService extends RemoteService 
{
	String[] takeSingleImage(String imageName, int holdOffTime, String switchSettings, boolean debug, String[] debugResponse) throws RaspberryPiException;
	String[] getLatestTimeLapseImageName(boolean debug, String[] debugResponse) throws RaspberryPiException;
	String startTimeLapse(String intervalString, String maxTimeString, String maxNumImagesString, String switchSettings, boolean debug, String debugResponse) throws RaspberryPiException;
	String[] clearDirectory(String directory, String wildCardExtenstion, boolean debug, String[] debugResponse) throws RaspberryPiException;
	String[] killRaspistill(boolean debug, String[] debugResponse) throws RaspberryPiException;
	String[] isRaspistillRunning(boolean debug, String[] debugResponse) throws RaspberryPiException;
}
